/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package actioncombination.common.datastructure;

/**
 *
 * @author gisia
 */
public class Pair<T,E> {
    private T first;
    private E second;

    public Pair() {
    }

    
    public Pair(T first, E second) {
        this.first = first;
        this.second = second;
    }

    
    public void setPair(T first, E second){
        this.setFirst(first);
        this.setSecond(second);
    }
    
    public T getFirst() {
        return first;
    }

    private void setFirst(T first) {
        this.first = first;
    }

    
    public E getSecond() {
        return second;
    }

    private void setSecond(E second) {
        this.second = second;
    }

    
    
    
}
